package com.lechuang.user.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author apple
 */
@Data
public class UserForgetPwdDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 手机号
     */
    @NotNull(message = "手机号不能为空")
    private String phone;

    /**
     * 密码
     */
    @NotNull(message = "密码不能为空")
    private String loginPassword;

    /**
     * 登录确认密码
     */
    @NotNull(message = "确认密码不能为空")
    private String confirmLoginPassword;

    /**
     * 短信验证码
     */
    @NotNull(message = "短信验证码不能为空")
    private String validateCode;

}
